var rnewpassword=null;
$(function(){
	rnewpassword = $("#rName");

    rnewpassword.on("blur",function(){
        var a= $("#nName").val();
        var b=$("#rName").val();
        if (b==""){
            $("#reviewInfor").css('color',"red");
            $("#reviewInfor").html("密码不能为空");
        }else if(a==b){
            $("#reviewInfor").css('color',"green");
            $("#reviewInfor").html("认证成功");
        }else{
            $("#reviewInfor").css('color',"red");
            $("#reviewInfor").html("两次密码输入不一致，请重新输入");
        }
    });


});